package com.cyt.work.divideclass.model.vo;

import cn.afterturn.easypoi.excel.annotation.Excel;
import lombok.Data;
import org.hibernate.validator.constraints.NotBlank;

import javax.validation.constraints.Pattern;
import java.io.Serializable;

/**
 * 模板导出
 *
 * @author caideyong
 * @date 2019/12/27 10:53
 */
@Data
public class DivideclassStudentImportVo implements Serializable {

    @Excel(name = "*姓名")
    @NotBlank(message = "姓名不能为空")
    private String name;

    @Excel(name = "*学号")
    @NotBlank(message = "学号不能为空")
    private String xh;

    @Excel(name = "*性别",dict = "sexType")
    @NotBlank(message = "性别不能为空")
    private String sex;

    @Excel(name = "*来源学校")
    @NotBlank(message = "来源学校不能为空")
    private String school;

    public DivideclassStudentImportVo() {
    }

    public DivideclassStudentImportVo(String name, String xh, String sex, String school) {
        this.name = name;
        this.xh = xh;
        this.sex = sex;
        this.school = school;
    }
}